<?php
/*  lamp-shade_0.1
 *  License: GNU GPL v3
 *  File: ./modules/html/javascript.php
 *  Last Mod.:  02/11/11 by Werner
 *  Authors:    Werner Roets
 *              Frank Adrian
 *  Description:
 *  This class defines a lampshade style object
 *  used to add css styles.
 */
 require_once("html_component.php"); 
 
 class Javascript extends Html_component
 {
 	public $Js_location;
 	
 	public function __construct($js_location)
 	{
 	    $this->Js_location = $js_location;
 	}
 	
 	public function GenerateHtml()
 	{
 	    $this->Html =  '<script type="text/javascript" src="' . $this->Js_location . '"></script>'; 
 	}
 }

?>